snapcraft can't run tests as part of building a snap
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
It's quite a common pattern in the autoconf world to have the resulting makefile have rules that verify the build against a test suite. There is no way to run those tests right now.
I think it would be nice to have in autoconf and maybe others a way to run tests after build, the failure of which halts packaging.
ideas
plugin: autoconf
accept-if:
- make run-unittests
- make run-coveragetests
or
plugin: autoconf
test-rules: [ run-unittests, run-coveragetests ]
Evaluation history
No evaluation history available.